package com.lanp.springredis.scv;

public enum RedisCSV {
    user("user:", "用户"),
    topic_user("topic_user", "用户消息"),
    bloom_user("bloom_user", "用户布隆"),
    limit_user("limit_user", "用户限流"),
    cmap_user("cmap_user", "mapCache监听"),
    mmap_user("mmap_user:", "多值map"),
    set("set", "set"),
    geo("geo", "geo"),
    bitset("bitset", "bitset"),
    bitset2("bitset2", "bitset2"),
    atomic("atomic", "atomic");


    RedisCSV(String key, String remark) {
        this.key = key;
        this.remark = remark;
    }

    private String key;
    private String remark;

    public String getKey() {
        return key;
    }

    public String getKey(Object val) {
        return key + val.toString();
    }
}
